package com.niit.mall.user.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.niit.mall.user.domain.po.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * @BelongsProject: pardo_mall_backend
 * @BelongsPackage: com.niit.mall.user.mapper
 * @Author: ChuXuan
 * @CreateTime: 2025-06-04  20:08
 * @Description: 用户消息Mapper
 * @Version: 1.0
 */
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
	@Select("select * from tb_user_info where user_id = #{userId}")
	UserInfo queryUserInfoByUserId(@Param("userId")Long userId);

}
